import numpy as np

a = [[1,2,3],[4,8,9],[12,28,21]]
a = np.asarray(a)
a[:,0] = (a[:,0] -2) * 3
print(a[:,0])

